package cn.yangliu.operation.config;

import cn.yangliu.operation.entity.Operation;
import cn.yangliu.operation.tools.OperationUtils;

/**
 * 作者 杨柳
 * 创建时间 2017-08-28 21:07
 */

public class OperationConfig {

    private Class<? extends Operation> entityClassName;

    public Class<? extends Operation> getEntityClassName() {
        return entityClassName;
    }

    public void setEntityClassName(Class<? extends Operation> entityClassName) {
        this.entityClassName = entityClassName;
        if (entityClassName!=null){
            OperationUtils.ENTITY_CLASS = entityClassName;
        }
    }
}
